{include file="header.html"}

<script type="text/javascript">
//<!CDATA[
$(function(){
  
    
    $("#search").click(function(){
    	$("#act").val("index");

    	$("#form1").submit();
    });
});
//]]>
</script>

<div id="rightTop">
	<p>运营商</p>
	<ul class="subnav">
		<li><span>{$lang.manage}</span>
		</li>
		<li><a class="btn1" href="index.php?app=operator&amp;act=add">{$lang.add}</a>
		</li>
	</ul>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form method="get">
			<div class="left">
	
                    <input type="hidden" name="app" value="operator" />
                <input type="hidden" name="act" value="index" />
             	 	运营商名称:
                <input class="queryInput" type="text" name="wm_carrier" value="{$smarty.get.wm_carrier}" />

                <input type="submit" class="formbtn" value="{$lang.query}" />
   
			</div>
		</form>
	</div>
	<div class="fontr">{include file=page.top.html}</div>
	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $operator}-->
		<tr class="tatr1">
			<td width="20" class="firstCell"><input type="checkbox"
				class="checkall" />
			</td>
			<td align="left">{$lang.o_name}</td>
			<td>{$lang.o_linkman}</td>
			<td align="left">{$lang.o_linktel}</td>
			
			<td>承运人</td>
			<td>货主</td>
			
			<td>{$lang.o_address}</td>
			<td style="text-align: center;width: 100px">操作</td>
		
			
		</tr>
		<!--{/if}-->
		<!--{foreach from=$operator item=w}-->
		<tr class="tatr2">
		    <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$w.o_tid}"/></td>
			<td>{$w.o_name|escape}</td>
			<td>{$w.o_linkman|escape}</td>
	
		
			<td>{$w.o_linktel}</td>
			
			
					<td>
			<!-- {if $w.o_carrier eq 1} -->
	            <img src="{res file=style/images/positive_enabled.gif}" ectype="inline_edit" fieldname="o_carrier" fieldid="{$w.o_tid}" fieldvalue="1" title="{$lang.editable}"/>
	            <!--{else}-->
	            <img src="{res file=style/images/positive_disabled.gif}" ectype="inline_edit" fieldname="o_carrier" fieldid="{$w.o_tid}" fieldvalue="0" title="{$lang.editable}"/>
	            <!-- {/if} -->
	      
			</td>

					<td>
			<!-- {if $w.o_consignor eq 1} -->
	            <img src="{res file=style/images/positive_enabled.gif}" ectype="inline_edit" fieldname="o_consignor" fieldid="{$w.o_tid}" fieldvalue="1" title="{$lang.editable}"/>
	            <!--{else}-->
	            <img src="{res file=style/images/positive_disabled.gif}" ectype="inline_edit" fieldname="o_consignor" fieldid="{$w.o_tid}" fieldvalue="0" title="{$lang.editable}"/>
	            <!-- {/if} -->
	      
			</td>
			
			
			
		
			
			
			
			
			
			
			
			
			
			<td>{$w.o_address|default:-}</td>
                       <td style="text-align: center;">

                       <a href="index.php?app=operator&amp;act=edit&amp;id={$w.o_tid}">{$lang.edit}</a>
             |
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=operator&amp;act=drop&amp;id={$w.o_tid}');">{$lang.drop}</a></td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="7">{$lang.no_data}</td>
		</tr>
		<!--{/foreach}-->
	</table>
	<!--{if $operator}-->
	<div id="dataFuncs">
		<div class="pageLinks">{include file=page.bottom.html}</div>
		<div id="batchAction" class="left paddingT15">
			&nbsp;&nbsp; <input class="formbtn batchButton" type="button"
				value="{$lang.drop}" name="id" uri="index.php?app=operator&act=drop"
				presubmit="confirm('{$lang.drop_confirm}');" /> &nbsp;&nbsp;
			<!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
		</div>
		<div class="clear:both;"></div>
	</div>
	<div class="clear"></div>
	<!--{/if}-->
</div>
{include file="footer.html"}